package com.atguigu.gmall.item;


import com.atguigu.gmall.common.config.exception.annotation.EnableAutoExceptionHandle;
import com.atguigu.starter.cache.annotation.EnableMallCache;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author lfy
 * @Description
 * @create 2023-08-18 14:40
 */


//@Import({AppCacheAutoConfiguration.class}) //自动配置类就是用来集中管理这个功能场景的所有组件
//@EnableMallCache
//@EnableAspectJAutoProxy //开启AOP自动代理

//调谁扫谁；
@EnableFeignClients(basePackages = {
        "com.atguigu.gmall.feign.product",
        "com.atguigu.gmall.feign.search"
})
@SpringCloudApplication
public class ItemMainApplication {

    public static void main(String[] args) {
        SpringApplication.run(ItemMainApplication.class, args);
    }
}
